/*
    查看所有对象
*/

inherit "inherit/object"

number main(object me, string arg){

   string obstr,txt;

   map obs = objects();
   number obCount = sizeof(obs);

   txt = fmt("加载的对象有%d个", obCount);

   foreach(obId in obs){
        obstr+=fileName(obs[obId]);
   }


   tellObject(me,txt+"\n"+obstr);

   return 1;

}

